Public Class ContextSaver

    Private context_ As AsindoContext

    ReadOnly Property ConnectionString As String
        Get
            Return context_.Connection.ConnectionString
        End Get
    End Property

    Public Sub New(ByVal context As AsindoContext)
        context_ = context
    End Sub

    Public Function Save() As Integer
        Return context_.SaveChanges()
    End Function

End Class

